import request from '@/utils/request'

// 查询processing列表
export function listProcessing(query) {
  return request({
    url: '/xx/processing/list',
    method: 'get',
    params: query
  })
}

// 查询processing详细
export function getProcessing(uuid) {
  return request({
    url: '/xx/processing/' + uuid,
    method: 'get'
  })
}

// 新增processing
export function addProcessing(data) {
  return request({
    url: '/xx/processing',
    method: 'post',
    data: data
  })
}

// 修改processing
export function updateProcessing(data) {
  return request({
    url: '/xx/processing',
    method: 'put',
    data: data
  })
}

// 删除processing
export function delProcessing(uuid) {
  return request({
    url: '/xx/processing/' + uuid,
    method: 'delete'
  })
}
